/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucase.casemain.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述: 案件当事人分支流程记录表 case_parties_branch_flow_record 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年05月16日
 */
@Table(name = "upcase.case_parties_branch_flow_record")
public class CasePartiesBranchFlowRecord implements Serializable {
    /**
     * 主键
     */
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 分支阶段名称
     */
    @Column(name = "branch_stage_name")
    private String branchStageName;

    /**
     * 分支阶段编码
     */
    @Column(name = "branch_stage_code")
    private String branchStageCode;

    /**
     * 分支环节名称
     */
    @Column(name = "branch_link_name")
    private String branchLinkName;

    /**
     * 分支环节编码
     */
    @Column(name = "branch_link_code")
    private String branchLinkCode;

    /**
     * 分支环节开始时间
     */
    @Column(name = "branch_link_start_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime branchLinkStartTime;

    /**
     * 分支环节结束时间
     */
    @Column(name = "branch_link_end_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime branchLinkEndTime;

    /**
     * 分支阶段开始时间
     */
    @Column(name = "branch_stage_start_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime branchStageStartTime;

    /**
     * 分支阶段结束时间
     */
    @Column(name = "branch_stage_end_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime branchStageEndTime;

    /**
     * 分支前一环节编码
     */
    @Column(name = "branch_previous_link_code")
    private String branchPreviousLinkCode;

    /**
     * 当事人id
     */
    @Column(name = "party_id")
    private String partyId;

    private static final long serialVersionUID = 1L;
}